import {getAllUser} from "@/apis/userApi"
import {IUser} from "@/types/userInterface"

const users = ref<Array<IUser>>([])
onMounted(()=>{
  fetchData()
})

const fetchData =async ()=>{
  const res = await getAllUser()
  users.value = res.data.data
}

//表格可以渲染users的数据
